﻿
namespace Morus.Presentation
{
    public static class ViewInstanceSuffixes
    {
        private static readonly ViewInstanceSuffixCollection _suffixes = ViewInstanceSuffixes.CreateDefaultCollection();

        public static ViewInstanceSuffixCollection Suffixes
        {
            get
            {
                return ViewInstanceSuffixes._suffixes;
            }
        }

        private static ViewInstanceSuffixCollection CreateDefaultCollection()
        {
            return new ViewInstanceSuffixCollection
            {
                "UserControl",
                "Control",
                "View",
                "PartialView",
                "PageView",
                "Page",
                "Handler",
                "WebService",
                "Service"
            };
        }
    }
}
